<?php 
// для кодировки
class releasesComponents extends  sfComponents
{
	public function executeLast_releases()
	{
		$howmuch = isset($this->howmuch)? $this->howmuch : 5 ;
		$this->relizes = Reliz::getLastRelizes($howmuch);
	}

	public function executeBytag()
	{
		$this->relizes = Reliz::getByTags($this->tags, $this->id, $this->limit);
	}
}
?>